<template>
    <div class="xsqga">
        <router-link to="/Home">
            <Xsqgason v-for="(v,i) in arr" :key="i" :img="v.birthImage" :cake="v.cake" :count="v.count" :jian="v.jian" :price="v.price" :qiang="v.qiang" :sale="v.sale" :tool="v.tool" :wish="v.wish"/>
        </router-link>
    </div>
</template>

<script>
import Xsqgason from "@/components/ddgHD/xsqgason.vue"
import {getlink} from "@/api/getapi.js"
export default {
    components:{
        Xsqgason
    },
    data(){
        return {
            arr:[]
        }
    },
    mounted(){
        getlink("/data/ddg").then((ok)=>{
            this.arr=ok.data.birthday
            // console.log(ok.data.birthday)
        })
    }
}
</script>

<style scoped>
    .xsqga{
        font-size: 0.12rem;
    }
</style>